package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangge
 * @since 2020-09-10
 */
@TableName("gcg_task_flow")
public class TaskFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 工程id
     */
    @TableField("pro_id")
    private Integer proId;

    /**
     * 任务id
     */
    @TableField("task_id")
    private Integer taskId;

    /**
     * 1提交；2审核未通过；3审核通过
     */
    @TableField("status")
    private Integer status;

    /**
     * 任务名称
     */
    @TableField("task_name")
    private String taskName;

    /**
     * 操作人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 操作时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TaskFlow{" +
        "id=" + id +
        ", proId=" + proId +
        ", taskId=" + taskId +
        ", status=" + status +
        ", taskName=" + taskName +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        "}";
    }
}
